package com.ruoyi.course.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 courses
 * 
 * @author yiang
 * @date 2025-04-09
 */
public class Courses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long courseId;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String courseType;

    /** 年份 */
    @Excel(name = "年份")
    private Long year;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    /** 学科 */
    @Excel(name = "学科")
    private String subject;

    /** 班型 */
    @Excel(name = "班型")
    private String classType;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 讲次信息 */
    private List<CourseLectures> courseLecturesList;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setCourseType(String courseType) 
    {
        this.courseType = courseType;
    }

    public String getCourseType() 
    {
        return courseType;
    }

    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }

    public void setClassType(String classType) 
    {
        this.classType = classType;
    }

    public String getClassType() 
    {
        return classType;
    }

    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public List<CourseLectures> getCourseLecturesList()
    {
        return courseLecturesList;
    }

    public void setCourseLecturesList(List<CourseLectures> courseLecturesList)
    {
        this.courseLecturesList = courseLecturesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseType", getCourseType())
            .append("year", getYear())
            .append("semester", getSemester())
            .append("subject", getSubject())
            .append("classType", getClassType())
            .append("grade", getGrade())
            .append("courseName", getCourseName())
            .append("courseLecturesList", getCourseLecturesList())
            .toString();
    }
}
